import request from '@/utils/request'
export function getEmployeeSimple() { // 获取下拉员工数据
  return request({
    url: '/sys/user/simple'
  })
}
export function reqGetEmployeeList(params) { // 员工管理获取数据
  return request({
    methods: 'get',
    url: '/sys/user',
    params
  })
}
export function delEmployee(id) { // 员工管理删除数据
  return request({
    method: 'delete',
    url: `/sys/user/${id}`
  })
}
export function addEmployee(data) { // 添加员工
  return request({
    method: 'post',
    url: '/sys/user',
    data
  })
}
